import request from '@/utils/request'

/**门诊就诊信息*/
export function getClinicTreat(data) {
  return request({
    url: 'dr/treat/info',
    method: 'post',
    data
  })
}

/**快速接诊*/
export function fastReception(data) {
  return request({
    url: 'dr/treat/fastReception',
    method: 'post',
    data
  })
}
/**提交检查报告*/
export function addTreatResult(data) {
  return request({
    url: 'dr/treat/addResult',
    method: 'post',
    data
  })
}

export function getTreatResult(data) {
  return request({
    url: 'dr/report/getProjectResult',
    method: 'post',
    data
  })
}

/**随访信息查询*/
export function getFollow(data) {
  return request({
    url: 'treat/follow/list',
    method: 'post',
    data
  })
}

export function editFollow(data) {
  return request({
    url: 'treat/follow/edit',
    method: 'post',
    data
  })
}

export function getInspect(data) {
  return request({
    url: 'treat/manager/list',
    method: 'post',
    data
  })
}

/**查询专科检查项目*/
export function getInspectInfo(data) {
  return request({
    url: '/treat/manager/inspectsInfo',
    method: 'post',
    data
  })
}

/**新增处方*/
export function makePrescription(data) {
  return request({
    url: 'dr/treat/makePrescription',
    method: 'post',
    data
  })
}

/**编辑处方商品*/
export function editPrescriptionStore(data) {
  return request({
    url: 'dr/treat/editPrescriptionStore',
    method: 'post',
    data
  })
}

/**完成接诊*/
export function completeTreat(data) {
  return request({
    url: 'dr/treat/completeTreat',
    method: 'post',
    data
  })
}
